package com.dogdog.fragment;

import com.dogdog.activity.R;
import com.dogdog.activity.R.drawable;
import com.dogdog.activity.R.id;
import com.dogdog.activity.R.layout;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

public class Hand_square extends Fragment {
	private View tab1;
    private ImageView imgv_right;
	private RelativeLayout  titlebar;
	private TextView title;
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		tab1 = inflater.inflate(R.layout.fragment_main_square,container,false);
		initView();
		return tab1;
	}

	private void initView() {
		titlebar = (RelativeLayout) tab1. findViewById(R.id.rl_titlebar);
		title = (TextView)tab1.findViewById(R.id.tv_title);
		title.setText("广场");
		imgv_right = (ImageView)tab1.findViewById(R.id.imgv_right_btn);
		imgv_right.setImageResource(R.drawable.posting);
	}
}
